package cn.zjk.springframework.core.io;

/**
 * @author zjk
 * @CreateTime 2023/3/23 23:59
 */
public interface ResourceLoader {
    /**
     * Pseudo URL prefix for loading from the class path: "classpath:"
     */
    String CLASSPATH_URL_PREFIX = "classpath:";

    /**
     *  获取资源
     * @param location 地址
     * @return
     */
    Resource getResource(String location);
}
